package com.xinbochuang.machine.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinbochuang.machine.common.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 *
 * @author 杜文博
 * @date 2020-10-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("GEJIE_ORDER")
public class GejieOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 工单流水号
     */
    @TableId("UUID")
    private String uuid;

    /**
     * 工单状态（1为待审核，2为已审核，3为已驳回，4为终止）
     */
    @TableField("GJ_ORDER_STATUS")
    private BigDecimal gjOrderStatus;

    /**
     * 建单人
     */
    @TableField("GJ_CREATE_ORDER_USER_ID")
    private String gjCreateOrderUserId;

    /**
     * 建单人姓名
     */
    @TableField("GJ_CREATE_ORDER_USER_NAME")
    private String gjCreateOrderUserName;

    /**
     * 工单主题
     */
    @TableField("GJ_ORDER_THEME")
    private String gjOrderTheme;

    /**
     * 工程名称
     */
    @TableField("GJ_ORDER_NAME")
    private String gjOrderName;

    /**
     * 施工单位
     */
    @TableField("GJ_CONSTRUCTION_DEPT")
    private String gjConstructionDept;

    /**
     * 施工单位主键
     */
    @TableField("GJ_CONSTRUCTION_DEPT_ID")
    private String gjConstructionDeptId;

    /**
     * 施工对象类型1为机柜，2为其它
     */
    @TableField("GJ_WORK_TYPE")
    private String gjWorkType;

    /**
     * 地市
     */
    @TableField("GJ_CITY")
    private String gjCity;

    /**
     * 机房名称
     */
    @TableField("GJ_MAC_NAME")
    private String gjMacName;

    /**
     * 机房表关联Id
     */
    @TableField("GJ_MAC_ID")
    private String gjMacId;

    /**
     * 机柜Id
     */
    @TableField("GJ_CABINET_ID")
    private String gjCabinetId;

    @TableField("GJ_CABINET_NAME")
    private String gjCabinetName;

    @TableField("GJ_OTHER_WORK")
    private String gjOtherWork;

    /**
     * 施工开始时间
     */
    @TableField("GJ_WORK_BEGIN_TIME")
    private String gjWorkBeginTime;

    /**
     * 施工结束时间
     */
    @TableField("GJ_WORK_END_TIME")
    private String gjWorkEndTime;

    /**
     * 施工部门现场负责人Id
     */
    @TableField("GJ_WORK_ING_PRINCPCIPAL_ID")
    private String gjWorkIngPrincpcipalId;

    /**
     * 施工部门现场负责人姓名
     */
    @TableField("GJ_WORK_ING_PRINCPCIPAL")
    private String gjWorkIngPrincpcipal;

    /**
     * 现场负责人联系电话
     */
    @TableField("GJ_WORK_ING_PRINCPCIPAL_TEL")
    private String gjWorkIngPrincpcipalTel;

    @TableField("DELETE_FLAG")
    private Integer deleteFlag;

    @TableField("GJ_MAC_PRINCIPAL")
    private String gjMacPrincipal;

    @TableField("GJ_FREE_WORKER")
    private String gjFreeWorker;

    @TableField("GJ_FREE_DEPT")
    private String gjFreeDept;

    @TableField("GJ_FREE_WORKER_ID")
    private String gjFreeWorkerId;

    @TableField("GJ_FREE_DEPT_ID")
    private String gjFreeDeptId;

    @TableField("GJ_CREATE_ORDER_DEPT")
    private String gjCreateOrderDept;

    @TableField("GJ_CREATE_ORDER_DEPT_ID")
    private String gjCreateOrderDeptId;

    @TableField("GJ_ALARM")
    private Integer gjAlarm;

    @TableField("GJ_IMG_URL")
    private String gjImgUrl;


}
